//
//  YMMyModel.h
//  GuoAo
//
//  Created by y s on 2023/3/9.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface YMMyModel : NSObject

+ (instancetype)shared;

/** 用户token */
@property (nonatomic, copy) NSString *token;
/** 低代码平台令牌，用于调用拖兔低代码平台接口 */
@property (nonatomic, copy) NSString *tuoTuToken;
@property (nonatomic, copy) NSString *userName;
@property (nonatomic, copy) NSString *userPhone;
/** 低代码用户ID */
@property (nonatomic, copy) NSString *userId;
/** 设备序列号 */
@property (nonatomic, copy) NSString *deviceId;

/** 未登录时 脱兔 token */
@property (nonatomic, copy) NSString *noLoginTuoTuToken;

/** 首页选中的用户id */
@property (nonatomic, copy) NSString *homeUserId;

/** 检测调参显示OR 隐藏 默认：隐藏 */
@property (nonatomic, assign) BOOL showCameraTips;


- (void)launch;

/** 是否已经登录 */
+ (BOOL)isLogin;

/** 更新登录数据 */
- (void)loginSuccess:(NSDictionary *)dict;
/** 登出 */
- (void)logout;



@end

NS_ASSUME_NONNULL_END
